Skip to content

chore(deps-dev): bump style-loader from 3.3.4 to 4.0.0 in /src/microsoft-trydotnet-editor#135

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/src/microsoft-trydotnet-editor/style-loader-4.0.0
Open

chore(deps-dev): bump style-loader from 3.3.4 to 4.0.0 in /src/microsoft-trydotnet-editor#135
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/src/microsoft-trydotnet-editor/style-loader-4.0.0

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 9, 2026

Bumps style-loader from 3.3.4 to 4.0.0.

Release notes

Sourced from style-loader's releases.

v4.0.0

4.0.0 (2024-04-08)

⚠ BREAKING CHANGES

  • minimum supported webpack version is 5.27.0
  • minimum support Node.js version is 18.12.0
  • the insert option can only be a selector or the path to the module

Migration:

Before:

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        use: [
          {
            loader: "style-loader",
            options: {
              injectType: "styleTag",
              styleTagTransform: function (css, style) {
                // Do something ...
                style.innerHTML = `${css}.modify{}\n`;
            document.head.appendChild(style);
          },
        },
      },
      "css-loader",
    ],
  },
],

},
};

After:

insert-function.js

function insert(css, style) {
  var parent = options.target || document.head;
</tr></table> 

... (truncated)

Changelog

Sourced from style-loader's changelog.

4.0.0 (2024-04-08)

⚠ BREAKING CHANGES

  • minimum supported webpack version is 5.27.0
  • minimum support Node.js version is 18.12.0
  • the insert option can only be a selector or the path to the module

Migration:

Before:

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        use: [
          {
            loader: "style-loader",
            options: {
              injectType: "styleTag",
              styleTagTransform (css, style) {
                // Do something ...
                style.innerHTML = `${css}.modify{}\n`;
            document.head.appendChild(style);
          },
        },
      },
      &quot;css-loader&quot;,
    ],
  },
],

},
};

After:

insert-function.js

function insert(css, style) {
  const parent = options.target || document.head;
</tr></table>

... (truncated)

Commits
  • 091d37d chore(release): 4.0.0
  • abc0b5f docs: improve more
  • 565362c docs: update
  • 7122cde refactor!: the insert option can only be a selector or the path to the mo...
  • 11b8639 refactor!: the styleTagTransform option can only be the path to the module
  • 7ec1120 test: fix
  • 977bb71 refactor!: minimum supported webpack version is 5.27.0
  • a70555a test: update
  • dc6e368 refactor!: minimum support Node.js version is 18.12.0
  • b7cdc6c chore: update codecov-action to v4 (#623)
  • Additional commits viewable in compare view
Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 3.3.4 to 4.0.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack/style-loader/blob/main/CHANGELOG.md)
- [Commits](webpack/style-loader@v3.3.4...v4.0.0)

---
updated-dependencies:
- dependency-name: style-loader
  dependency-version: 4.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file npm labels Mar 9, 2026
@dependabot dependabot bot temporarily deployed to BuildAndUploadImage March 9, 2026 17:09 Inactive
@github-actions
Copy link

🤖 Automated Major Version Review — APPROVED

Package: style-loader
Ecosystem: npm
Version change: 3.3.4 → 4.0.0 (major bump)

Research Summary

Breaking Changes Analysis

Three breaking changes were introduced in style-loader v4.0.0:

  1. Minimum webpack version raised to 5.27.0 — This repository uses webpack 5.105.3 (confirmed from package-lock.json), which satisfies this requirement. ✅

  2. Minimum Node.js version raised to 18.12.0 — CI runs on Node.js v20.20.0, which satisfies this requirement. ✅

  3. insert option can only be a CSS selector string or path to a module (function values no longer accepted); similarly, styleTagTransform must be a module path — The webpack.config.js in this repository uses style-loader without any options at all (loader: 'style-loader' with no options block). These option changes do not affect this codebase. ✅

Security Check

No security advisories were found for style-loader in the GitHub Advisory Database.

Decision

✅ This major version update is safe to merge. CI checks pass, the diff contains only version file changes (package.json, package-lock.json), and none of the breaking changes affect this repository's usage of the package.

Generated by Dependabot Major Version Reviewer ·

@github-actions github-actions bot added the ai-approved-major-update AI-reviewed major dependency update safe to merge label Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-approved-major-update AI-reviewed major dependency update safe to merge dependencies Pull requests that update a dependency file npm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants